DomainObjects Class Library

Query<ClassToFind>.FindDataRows Method (Field[])

Retrieve an enumerable collection of DataRows filled with values returned by this query. Because the result set implements IEnumerable`1, Language-Integrated Query (LINQ) queries can be executed against it.

public IEnumerable<T> FindDataRows(
   params Field[] fieldsToSelect
);

Parameters

fieldsToSelect
Zero or more fields whose values will fill the column values of the DataSet.

Return Value

Returns an enumerable collection of DataRows filled with values returned by this query. Returns an empty collection if no rows are found.

See Also

Query<ClassToFind> Class | DomainObjects.Facade.Command Namespace | Query<ClassToFind>.FindDataRows Overload List